﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="diskshare_list.aspx.cs"
    Inherits="AnyOffice.Web.general.system.netshare.diskshare_list" %>

<%@ Register Src="../../../Control/CheckRight.ascx" TagName="CheckRight" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>公共文档柜设置</title>
</head>
<body class="bodycolor" style="padding-top:0;">
    <form id="form1" runat="server">
     <div class="main_div">
    <asp:Repeater ID="rep_pfile" runat="server" OnItemCommand="rep_pfile_ItemCommand">
        <HeaderTemplate>
            <table class="tab_pub" cellspacing="0" cellpadding="0" width="90%">
                <tr>
                <td nowrap class="TableHeader" align="center" width="10%">
                        排序号
                    </td>
                    <td nowrap class="TableHeader" align="center">
                        目录名称
                    </td>
                    <td nowrap class="TableHeader" align="center" width="40%">
                        管理员
                    </td>
                    <td nowrap class="TableHeader" align="center" width="20%">
                        操作
                    </td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="TableLine1">
             <td align="center">
                    <%#Eval("Seq")%>&nbsp;
                </td>
                <td>
                    <%#Eval("Name")%>&nbsp;
                </td>
                <td>
                    <%#Eval("WriteUser")%>&nbsp;
                </td>
                <td>
                    <asp:LinkButton ID="lbtn_edit" CommandName="edit" CommandArgument='<%#Eval("DiskID")%>'
                        runat="server">编辑</asp:LinkButton>&nbsp;
                    <asp:LinkButton ID="lbtn_del" CommandName="del" CommandArgument='<%#Eval("DiskID")%>'
                        runat="server" OnClientClick="if (!confirm('确认删除此目录及此目录下的文件/文件夹?')) return false;">删除</asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="TableLine2">
             <td align="center">
                    <%#Eval("Seq")%>&nbsp;
                </td>
                <td>
                    <%#Eval("Name")%>&nbsp;
                </td>
                <td>
                    <%#Eval("WriteUser")%>&nbsp;
                </td>
                <td>
                    <asp:LinkButton ID="lbtn_edit" CommandName="edit" CommandArgument='<%#Eval("DiskID")%>'
                        runat="server">编辑</asp:LinkButton>&nbsp;
                    <asp:LinkButton ID="lbtn_del" CommandName="del" CommandArgument='<%#Eval("DiskID")%>'
                        runat="server" OnClientClick="if (!confirm('确认删除此目录及此目录下的文件/文件夹?')) return false;">删除</asp:LinkButton>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <uc1:CheckRight ID="CheckRight1" runat="server"  />
    </div>
    </form>
</body>
</html>
